<div id = "main-content-area">
	<div id = "main-content-wrap">
		<div id="ep_header">Account Settings</div>
		<div id = "edit_profile_wrapper">
			<div class="error_msg" style="display:<?php echo ($save)? 'block':'none';?>"><?php echo ($save)? 'Successfully updated profile.':'&nbsp;';?></div>
			<div class="clear"></div>
			<div class="ep_inp_container">	
				<div class="div_right fleft">Email:</div>
				<div class="div_left fleft"><?php echo $records->email;?></div>
				<div class="clear"></div>
			</div>
			<form id = "frm_edit_profile" name = "frm_edit_profile" method="post" action="<?php echo base_url();?>profile/edit">
				<!-- input type hidden -->	
					<input type="hidden" id="toX" name="toX" value="0" />
					<input type="hidden" id="toY" name="toY" value="0" />
					<input type="hidden" id="ep_orig_txtheight" name="ep_orig_txtheight" value=""/>
				<!-- end input type hidden -->
				<div class="ep_inp_container">	
					<div class="div_right fleft">First Name:</div>
					<div class="div_left fleft"><input type ="text" value ="<?php echo $records->firstname;?>" name="firstname" id="ep-fname"/></div>
					<div class="clear"></div>
				</div>
				<div class="ep_inp_container">	
					<div class="div_right fleft">Middle Name:</div>
					<div class="div_left fleft"><input type ="text" value ="<?php echo $records->middle;?>" name="middle" id="ep-mname" /></div>
					<div class="clear"></div>
				</div>
				<div class="ep_inp_container">	
					<div class="div_right fleft">Last Name:</div>
					<div class="div_left fleft"><input type ="text" value ="<?php echo $records->lastname;?>" name="lastname" id="ep-lname" /></div>
					<div class="clear"></div>
				</div>
				<div class="ep_inp_container">	
					<div class="div_right fleft">Birthday:</div>
					<div class="div_left fleft"><input type ="text" value ="<?php echo $records->dob;?>" name="dob" id="ep-birthday"/></div>
					<div class="clear"></div>
				</div>
				<div class="ep_inp_container">	
					<div class="div_right fleft">Password:</div>
					<div class="div_left fleft"><input type ="password" value ="" name="password" id="ep-pass"/></div>
					<div class="clear"></div>
				</div>
				<div class="ep_inp_container">	
					<div class="div_right fleft">About Me:</div>
					<div class="div_left_textarea fleft"><textarea name="about" id="ep-about"><?php echo $records->about;?></textarea></div>
					<div class="clear"></div>
				</div>
				<div class="fright" id="ep_btn_holder">
					<input type="submit" value="" alt="" id="ep-submit" name="ep-submit" />
					<input type="button" value="" alt="" id="ep-cancel" name="ep-cancel" />
				</div>
				<div class="clear"></div>
				<div class="ep_inp_container">
					<div class="fleft" style="width:140px;">Executor's Password:</div>
					<div class="fleft"><?php echo $this->encryption_lib->decode($records->password_executor);?></div>
					<div class="clear"></div>
					<div class="fleft" style="width:140px;">Recipient's Password:</div>
					<div class="fleft"><?php echo $this->encryption_lib->decode($records->password_recipient);?></div>
					<div class="clear"></div>
				</div>
			</form>
		</div>
	</div>
</div>